<%--
  Created by IntelliJ IDEA.
  User: juyee
  Date: 13-8-2
  Time: 下午12:12
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<script type="text/javascript" src="${appPath}view/js/common/formUtils.js"></script>
<script type="text/javascript" src="${appPath}view/js/student/form.js"></script>
<div id="${moduleName}inputDiv" class="easyui-panel" title="">
    <!-- formData component -->
    <form id="${moduleName}formData" method="post">
        <input type="hidden" name="id" value="${bean.id}">
        <table>
            <tr>
                <td>name</td>
                <td><input type="text" name="name" value="${bean.name}"></td>
            </tr>
            <tr>
                <td>borthDate</td>
                <td>
                    <input id="${moduleName}borthDate" type="text" name="borthDate" value="${bean.borthDate}"/>
                </td>
            </tr>
            <tr>
                <td>age</td>
                <td><input id="${moduleName}age" type="text" name="age" value="${bean.age}"></td>
            </tr>
            <tr>
                <td>height</td>
                <td><input id="${moduleName}height" type="text" name="height" value="${bean.height}"></td>
            </tr>
            <tr>
                <td>clazz</td>
                <td>
                    <input id="${moduleName}clazz" name="clazz" value="${bean.clazz.id}">
                </td>
            </tr>
        </table>
        <!-- button component -->
        <div id="dlg-buttons">
            <a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-ok"
               onclick="submitForm()">提交</a>
            <a href="javascript:void(0)" class="easyui-linkbutton" onclick="resetForm()">重置</a>
            <a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-cancel"
               onclick="back()">返回</a>
        </div>
    </form>
</div>
